<!--员工调动分析-->
<template>
	<query></query>

	<div style="margin-top: 20px"></div>

	<el-row :gutter="20">
		<el-col :span="12">
			<statistics-e-d :data="typeData" :id="'s-transfer-type'"></statistics-e-d>
		</el-col>
		<el-col :span="12">
			<statistics-e-d :data="sexData" :id="'s-transfer-sex'" :type="'pie'"></statistics-e-d>
		</el-col>
	</el-row>

	<div style="margin-top: 20px"></div>
</template>

<style scoped></style>

<script setup lang="ts" name="Statistcs-Transfer-Index">
import { ref } from 'vue'

import query from './line/query.vue'

const name = '调动'

const typeData = ref({
	title: name + '员工类型分析',
	subtext: '',
	xData: ['调岗', '晋升', '降级'],
	data: [50, 550, 430]
})

const sexData = ref({
	title: name + '员工性别分析',
	data: [
		{ value: 10, name: '男' },
		{ value: 18, name: '女' },
		{ value: 2, name: '其他' }
	]
})
</script>
